package com.kaishengit.service;

import java.util.List;

import com.kaishengit.dao.DealDao;
import com.kaishengit.pojo.Deal;
import com.kaishengit.pojo.User;

public class DealService {

	private DealDao dealDao;
	private List<Deal> deal;
	

	
	
	public List<Deal> findAll() {
		
		deal = dealDao.findAll();
		return deal;
	}

	


	//get set
	public DealDao getDealDao() {
		return dealDao;
	}


	public void setDealDao(DealDao dealDao) {
		this.dealDao = dealDao;
	}


	public List<Deal> getDeal() {
		return deal;
	}


	public void setDeal(List<Deal> deal) {
		this.deal = deal;
	}


	

	
	
}
